package design.pattern.prototype.demo;

/**
 * @author AtoVio, Winter Yuan
 */
public class Realizetype implements Cloneable {

    public Realizetype() {
        System.out.println("具体的原型对象创建完成");
    }

    @Override
    public Realizetype clone() throws CloneNotSupportedException {
        System.out.println("具体原型对象复制完成");
        return (Realizetype) super.clone();
    }
}
